package project;

import java.util.LinkedList;

public class user 
{ 
	private String				userName;
	private LinkedList<process> userProcesses;
	private int					userPriority;

	/**
	 * Constructor of a user
	 * @param userName
	 * @param userProcesses
	 * @param userPriority
	 */
	public user(String userName, LinkedList<process> userProcesses,
			int userPriority) 
	{
		super();
		this.userName		= userName;
		this.userProcesses	= userProcesses;
		this.userPriority	= userPriority;
	}

	// Setters and Getters for all the attributes.
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public LinkedList<process> getUserProcesses() {
		return userProcesses;
	}

	public void setUserProcesses(LinkedList<process> userProcesses) {
		this.userProcesses = userProcesses;
	}

	public int getUserPriority() {
		return userPriority;
	}

	public void setUserPriority(int userPriority) {
		this.userPriority = userPriority;
	}

}
